<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <body>

        <ui:composition template="./LogInTemplate.xhtml">

            <ui:define name="top">
                <p:panel>
                    <h1>Are you fully sure?...</h1>
                </p:panel>
            </ui:define>

            <ui:define name="content">
                <f:view>
                    <h:form>
                        <p:panel>
                        <h:panelGrid columns="2">
                            <h:outputText value="Name:"/>
                            <h:outputText value="#{userBean.user.name}" title="Name"/>
                            <h:outputText value="First name:"/>
                            <h:outputText value="#{userBean.user.firstname}" title="Firstname"/>
                            <h:outputText value="Last name:"/>
                            <h:outputText value="#{userBean.user.lastname}" title="Lastname"/>
                            <h:outputText value="Acces Id:"/>
                            <h:outputText value="#{userBean.user.accesId}" title="AccesId"/>
                            <h:outputText value="Password:"/>
                            <h:outputText value="#{userBean.user.password}" title="Password"/>
                            <p:commandButton action="#{userBean.processAction()}" value="Accept" ajax="false"/>
                            <p:commandButton action="UserCreateEdit" value="Cancel" immediate="true"/>
                        </h:panelGrid>
                        </p:panel>
                    </h:form>
                </f:view>
            </ui:define>
        </ui:composition>
    </body>
</html>
